package com.wx.gof.pattern.behavioral.visitor;

import lombok.Data;

/**
 * @ClassName ChargeCourse
 * @Author wx
 * @Description 收费课程
 * @Date 2018-12-16-18:23
 */
@Data
public class ChargeCourse extends Course {
    private Double price;
    @Override
    void runVisitor(IVisitor iVisitor) {
        iVisitor.visit(this);
    }
}
